package com.ssm.service;

import com.ssm.entity.Dept;
import com.ssm.entity.PageResult;
import com.ssm.entity.QueryObject;

import java.util.List;

public interface DeptService {
    void save(Dept dept);
    void delete(Long id);
    void update(Dept dept);
    Dept sqlById(Long id);
    List<Dept> selAll ();
    /*分页方法*/
    PageResult<Dept> query(QueryObject queryObject);
}
